/*
 * @Descripttion: 分销等级管理
 * @version: V1.0
 * @Author: GW
 * @Date: 2022-05-25 13:56:22
 * @LastEditors: GW
 * @LastEditTime: 2022-05-25 15:06:17
 */
import { axios } from '../../utils/request'
const api = {
    save: '/retail/level/save',
    list: '/retail/level/getList',
    delete: '/retail/level/delete',
}
/**
 * 保存
 */
export function save (data) {
    return axios({
        url: api.save,
        method: "post",
        data: data
    })
}

/**
 * 删除
 */
export function remove (data) {
    return axios({
        url: api.delete,
        method: "delete",
        params: data
    })
}

/**
 * 列表
 */
export function getList (data) {
    return axios({
        url: api.list,
        method: "get",
        params: data
    })
}